<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Generate a globally unique identifier (GUID)</title>
 </head>
 <body class="docs"><div id="layout">
  <div id="layout-content"><div id="function.com-create-guid" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">com_create_guid</h1>
  <p class="verinfo">(PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">com_create_guid</span> &mdash; <span class="dc-title">Generate a globally unique identifier (GUID)</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.com-create-guid-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>com_create_guid</strong></span>
    ( <span class="methodparam">void</span>
   ) : <span class="type">string</span></div>

  <p class="para rdfs-comment">
   Generates a Globally Unique Identifier (GUID).
  </p>
  <p class="para">
   A GUID is generated in the same way as DCE UUID&#039;s, except that the
   Microsoft convention is to enclose a GUID in curly braces.
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.com-create-guid-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the GUID as a string.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.com-create-guid-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><strong>uuid_create()</strong></span> in the PECL uuid extension</li>
   </ul>
  </p>
 </div>

</div></div></div></body></html>